import BasePath from "../config";

const onSaleGoodCar = {
	path: `${BasePath}/goods-management/on-sale-good-car`,
	name: 'on-sale-good-car',
	component: () => import('@/views/home/operate-panel/goods-management/on-sale-good-car.vue'),
	meta: {
		keepAlive: false
	}
}
const goodsDetail = {
	path: `${BasePath}/goods-management/goods-detail`,
	name: 'goods-detail',
	component: () => import('@/views/home/operate-panel/goods-management/goods-detail.vue'),
	meta: {
		keepAlive: false
	}
}
const regInfo = {
	path: `${BasePath}/goods-management/reg-info`,
	name: 'reg-info',
	component: () => import('@/views/home/operate-panel/goods-management/reg-info.vue'),
	meta: {
		keepAlive: false
	}
}

export default {
	path: `${BasePath}/goods-management`,
	name: 'goods-management',
	component: () => import('@/views/home/operate-panel/goods-management/index.vue'),
	meta: {
		keepAlive: false
	},
	children: [
		onSaleGoodCar,
		goodsDetail,
		regInfo
	]
}